using System;
using SqlSugar;
using System.Text.Json.Serialization;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lan.Models
{
    /// <summary>
    /// 系统表
    /// </summary>
    public class XT_Table
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 解决方案目录
        /// </summary>
        [SugarColumn(IsIgnore =true)]
        public string SolutionPath { get; set; }

        /// <summary>
        /// 所属模块
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string Module { get; set; }

        /// <summary>
        /// 表注释
        /// </summary>
        public string TableDescription { get; set; }

        /// <summary>
        /// 表字段
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<XT_Column> Columns { get; set; }
    }
}